<template>
	<view class="content">
		{{res}}
	</view>
</template>

<script>
import {get} from '../../util/http.js'
	export default {
		data() {
			return {
				res:''
			}
		},
		onLoad() {
			this.getListy()
		},
		methods: {
			async getListy(){
				let params = {
					msg:'明星'
				}
				const res = await get('/tgrj/api.php',params)
				this.res = res
				console.log("res",res)
			},
		}
	}
</script>

<style>
	
</style>
